package com.ssy.lingxi.order.model.vo.platform.response;

import java.io.Serializable;
import java.util.Objects;

/**
 * 平台后台 - 新增会员支付策略返回
 * @author 万宁
 * @version 2.0.0
 * @date 2021-08-11
 */
public class PlatformPaymentPayChannelVO implements Serializable {
    private static final long serialVersionUID = 3308995036928281832L;

    /**
     * 支付渠道类型枚举
     */
    private Integer payChannel;

    /**
     * 支付渠道类型名称
     */
    private String payChannelName;

    public Integer getPayChannel() {
        return payChannel;
    }

    public void setPayChannel(Integer payChannel) {
        this.payChannel = payChannel;
    }

    public String getPayChannelName() {
        return payChannelName;
    }

    public void setPayChannelName(String payChannelName) {
        this.payChannelName = payChannelName;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }

        if (o == null || getClass() != o.getClass()) {
            return false;
        }

        PlatformPaymentPayChannelVO that = (PlatformPaymentPayChannelVO) o;
        return payChannel.equals(that.payChannel);
    }

    @Override
    public int hashCode() {
        return Objects.hash(payChannel);
    }
}
